
.middle > div {
    border: 1px solid gray;
}

.middle > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
}

.middle > div > div:nth-child(1) > div:nth-child(2) {
    display: flex;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div {
    padding: 0 20px;
    background-color: rgb(243, 243, 243);
    line-height: 60px;
    cursor: pointer;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:hover {
    background-color: rgb(230, 145, 55);
    color: white;
}

/*--------------------------产品内容--------------------------------*/
.content > div:nth-child(1) > div {
    width: 210px;
    margin: 0 10px 10px 0;
    color: gray;
}

.content > div:nth-child(1) > div img {
    width: 210px;
    height: 210px;
}

.content > div:nth-child(1) {
    display: flex;
    flex-wrap: wrap;
}

price {
    color: red;
}

.content > div:nth-child(1) > div > div:nth-child(2) {
    font-weight: bold;
    font-size: 20px;
    color: black;
}

.content > div:nth-child(1) > div > div:nth-child(4) {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
